<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        /* 
            作业1：将dfs替换成*
                const str = "asdfbhSiicasbdFfa;sdDf"        
         */
         const str = "asdfbhSiicasbdFfa;sdDf"    
         const result1 = str.replace(/s|d|f/gi,"*")
         console.log(result1)

         /* 
            作业2：完成上一个页面的注册案例
          */
    </script>
</body>
</html>